package PTA2.ti67;

import java.util.Scanner;

/**
 * @author Lenovo
 */
public class demo1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n= scanner.nextInt();
        scanner.close();
        StringBuilder expression = new StringBuilder();
        int sum = 0;

        for (int i = 1; i <= n; i++) {
            sum += i;
            if (i == n) {
                expression.append(i);
            } else {
                expression.append(i).append("+");
            }
        }
        expression.append("=").append(sum);
        System.out.println(expression.toString());
    }

}
